#include <iostream>
using namespace std;
main()
{
	int a[5],b,*pointer_01,*pointer_02,i;
	pointer_01=a;
	pointer_02=&b;
	cout<<"b=";
	cin>>b;
	cout<<"Input the value of arry a"<<endl;
	for(i=0;i<5;i++) cin>>a[i];
	cout<<"pointer_01+1="<<*(pointer_01+1)<<endl; //*(pointer_01+1)=a[1] ??
	cout<<"pointer_02+1="<<*(pointer_02+1)<<endl; //pointer_02=&b,if pointer_02+1,what will happen?
	cout<<"The pointers' value as follows:"<<endl; 
	cout<<"(pointer_01+1)="<<(pointer_01+1)<<endl;//output address of a[1]
    cout<<"(pointer_01)="<<pointer_01<<endl;      //output address of a[0]
	cout<<"pointer_02="<<pointer_02<<endl;
    cout<<"(pointer_02+1)="<<(pointer_02+1)<<endl;//output address of pointer_02+1
	return 0;
}

